<%@ include file="../common/common_include.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	List<TblSiteSeo> list = (List<TblSiteSeo>)request.getAttribute("list");
	SiteForm form = (SiteForm)request.getAttribute("command");
%>
<div class="oaTable">
<table class="tableList">

	<tbody>
		<tr id="tableHeader">
			<th style="width: 19%;">页面名称</th>
			<th style="width: 60%;">标题</th>
			<th style="width: 10%;">操作</th>
		</tr>
		<%
          	if(null!=list && list.size()>0){
          		for(TblSiteSeo seo:list){
          			String id = EncrypTool.encode(seo.getId()+"");
          			%>
		<tr>
			<td><%=seo.getAlias()%></td>
			<td style="text-align: left;"><a href="javascript:XF.Site.editSeo('<%=id %>')" style="margin-left: 10px;"><%=StringUtils.isNotBlank(seo.getTitle())?seo.getTitle():""%></a></td>
			<td>
				<a class="a-btn-microsoft" href="javascript:XF.Site.editSeo('<%=id %>')" style="color: #fff">编辑</a>
			</td>
		</tr>
		<%
           		}
           	}
        %>
	</tbody>
</table>
</div>
<script>
	$(function() {
		//XF.Site.init();
		//XF.Site.init_css();
	});
</script>
































